package com.hanthink.system.mapper.repair;

import com.hanthink.common.core.domain.entity.SysUser;
import com.hanthink.system.domain.EmXflh;
import com.hanthink.system.domain.repair.*;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* <p>Title: EquipRepairMapper</p>  
* <p>Description: 设备维修-持久层</p>  
* @author vondser
* @date 2020年12月21日
 */
public interface RepairPlanMapper {
	RepairPlan selectRepairPlanById(Long id);
	List<RepairPlan> selectRepairPlanList(RepairPlan repairPlan);

	List<RepairPlan> selectTroubleList(RepairPlan repairPlan);

	List<RepairPlan> getList(RepairPlan repairPlan);

	int insertRepairPlan(RepairPlan repairPlan);

	int updateRepairPlan(RepairPlan repairPlan);

	int deleteRepairPlanById(Long id);

	int deleteRepairPlanByIds(Long[] ids);

	void insertInfo(Map<String, Object> params);

	List<RepairPlan> selectList(Map<String, Object> params);

	int updateNextExecuteTime(Map<String, Object> params);
	int updateTroubleInfo(Map<String, Object> params);
	List<RepairPlan> queryRepairPlanList();

}
